<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
		<title>Div高度自适应-两栏</title>
		<link href="//cdn.bootcss.com/normalize/3.0.3/normalize.css" rel="stylesheet">
		<style type="text/css">
			#wrap {overflow: hidden;}
			#sidebar_left,#sidebar_right {padding-bottom: 100000px;margin-bottom: -100000px;}
		</style>
	</head>

	<body>
		<div id="wrap" style="width:100%; background:#FFFF00;">
			<div id="sidebar_left" style="float:left;width:40%; background:#FF0000;height:800px;">居左</div>
			<div id="sidebar_right" style="float:right;width:60%; background:#0000FF;">居右</div>
		</div>
	</body>

</html>